package dao;

import java.io.IOException;
import java.util.List;

import model.Student;

public interface TeacherDao {
	public boolean isLogin(String identity,String name,String password);
	public List<Student> getsourcebyname(String str);
	public boolean checkhavecourse(String username,String str);
	public void ExportBycoursePOI(List<Student> student) throws IOException;
	public void ExportByclassPOI(List<Student> student) throws IOException;
	public List<Student> searchByname(String stuname);
	public List<Student> searchByid(int id);
	public List<Student> searchByclass(String classes);
	public boolean updatescore(int id,String course ,Object score);
	public boolean draw(List<Student> student);
}
